package com.qf.purchasing.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 经办人表
 */
@ApiModel(description = "经办人表")
@Data
@TableName(value = "z_agent")
public class Agent {
    public static final String COL_AGENT_ID = "agent_id";
    public static final String COL_AGENT_NAME = "agent_name";
    public static final String COL_STATUS = "status";
    /**
     * 经办人id
     */
    @TableId(value = "agent_id", type = IdType.INPUT)
    @ApiModelProperty(value = "经办人id")
    private Integer agentId;
    /**
     * 经办人姓名
     */
    @TableField(value = "agent_name")
    @ApiModelProperty(value = "经办人姓名")
    private String agentName;
    /**
     * 状态：0代表已删除，1代表未删除
     */
    @TableField(value = "`status`")
    @ApiModelProperty(value = "状态：0代表已删除，1代表未删除")
    private Integer status;
}